<?php
require_once 'config.inc.php';
require_once 'Zend/Loader.php';
require_once 'Smarty.class.php';

class Template extends Smarty {
	
	var $cacheing	= true;
	public $config = null;
	
	public function __construct() {
		Zend_Loader::loadClass('Zend_Registry');
		$this->config		= Zend_Registry::get('config');
		$this->template_dir	= $this->config->dir->smarty->template;
		$this->compile_dir	= $this->config->dir->smarty->compile;
		$this->cache_dir	= $this->config->dir->smarty->cache;
		$this->plugins_dir	= $this->config->dir->smarty->plugins;
	}
	
	public function loadConfig() {
		
		
		
	}
	
	public function __destruct() {
		$this->config = null;
	}

}
?>